/* 基本样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}
a {
  text-decoration: none;
}
a:link,
a:visited {
  color: #5e5e5e;
}
/* 轮播图样式 */
.banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.banner-slide.slide1 {
  background: url("../../images/banners/banner1.jpg") no-repeat center center;
  background-size: cover;
}

.banner-slide.slide2 {
  background: url("../../images/banners/banner2.jpg") no-repeat center center;
  background-size: cover;
}

.banner-slide.slide3 {
  background: url("../../images/banners/banner3.jpg") no-repeat center center;
  background-size: cover;
}

.banner-slide.slide-active {
  opacity: 1;
}
/* 轮播按钮样式 */
.button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.button.prev {
  left: 20px;
}

.button.next {
  right: 20px;
}
/* 指示器样式 */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.dots span.dot-active {
  background: #333;
}
/* 分类菜单样式 */
.menu-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 100%;
  background: #f8f8f8;
  border-right: 1px solid #ddd;
  z-index: 5;
}

.menu-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.menu-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #333;
}
/* 子菜单样式 */
.sub-menu {
  position: absolute;
  left: 200px;
  top: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
}

.sub-menu.hide {
  display: none;
}

.inner-box {
  display: none;
}

.sub-inner-box {
  padding: 20px;
}

.title {
  font-weight: bold;
  margin-bottom: 10px;
}

.sub-row {
  margin-bottom: 15px;
}

.bold {
  font-weight: bold;
  margin-right: 10px;
}

.menu {
  margin-right: 10px;
  text-decoration: none;
  color: #333;
}

.menu:hover {
  text-decoration: underline;
}
